import fs = require('fs');

// fs.writeFileSync('.txt', 'xxxxx');
fs.promises.copyFile('./dist/.htaccess', './dist/.htaccess2');